package com.cn.springcloudwechat.model.proxy;

import org.apache.ibatis.type.Alias;

import java.util.Date;
@Alias("YmProxyUser")
public class YmProxyUser {
    /**
     * 代理流水id
     */
    private Long proxyId;
    /**
     * 用户id
     */
    private Long userId;
    /**
     * 代理人id
     */
    private Long parentId;
    /**
     * 创建时间
     */
    private Date createTime;
    /**
     * 状态0无效1有效
     */
    private short state;

    public Long getProxyId() {
        return proxyId;
    }

    public void setProxyId(Long proxyId) {
        this.proxyId = proxyId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public short getState() {
        return state;
    }

    public void setState(short state) {
        this.state = state;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    @Override
    public String toString() {
        return "YmProxyUser{" +
                "proxyId=" + proxyId +
                ", userId=" + userId +
                ", parentId=" + parentId +
                ", createTime=" + createTime +
                ", state=" + state +
                '}';
    }
}
